namespace mgp.login {

    export interface ICallBack {
        success?: (res) => void;
        fail?: (err?) => void;
        complete?: () => void;
    }

    export interface ILoginObject extends ICallBack {
        timeout?: number;
        force?: boolean;
    }

    export interface ILogin {
        login(obj: ILoginObject);

        checkSession(obj: ICallBack);
    }

}